# Maintainer: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
pkgname=libgrapheme
pkgver=1
pkgrel=0
pkgdesc="unicode string library"
url="https://libs.suckless.org/libgrapheme"
arch="all"
license="ISC"
subpackages="$pkgname-doc $pkgname-dev"
source="https://dl.suckless.org/libgrapheme/libgrapheme-$pkgver.tar.gz"

build() {
	make all PREFIX=/usr
}

check() {
	make test PREFIX=/usr
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}
sha512sums="
c0f3300d30707266e44ee01f359204720ae1770788cec509b03be914f8581caae144fb72952d111f108ebef21fd96b5ca2cf69463ee569bce4bba8645942ee05  libgrapheme-1.tar.gz
"
